package com.linked.pay.feign.fallback;

import com.fasterxml.jackson.databind.ObjectMapper;

import com.linked.pay.feign.IBaseManageFeign;
import com.linked.universal.bean.basemanage.generallog.LinkedGeneralLog;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;

/**
 * @author :dbq
 * @date : 2022/11/24 9:54
 */
@Slf4j
public class BaseManageFeignFallBack implements IBaseManageFeign {


    @Autowired
    private ObjectMapper mapper;


    @Override
    public void insertListkedLog(LinkedGeneralLog param) {
        if (log.isInfoEnabled()){
            log.info("添加Linked日志接口，熔断");
        }
    }
}
